package com.qf;


import com.qf.mq.SendMessageChannel;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.stream.annotation.EnableBinding;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableBinding(SendMessageChannel.class)//开启stream的binding,用来绑定生产者
public class WebMasterApp {

    public static void main(String[] args) {
        SpringApplication.run(WebMasterApp.class,args);
    }
}
